//Definition file - Convex.h
#ifndef Convex_H
#define Convex_H

#include "Pen.h"
#include "Lista.h"
#include "Obstacle.h"

/* Class convex, which inherits from the abstract class obstacle. The convex
 * obstacles will be represented using this class (walls are included within).
 */
class Convex : public Obstacle {
   public:
      Convex(  );
      ~Convex(  );
      void draw();
      void drawPerimeter();
      void drawCover(float width);
      bool colision(PV punto, PV vector,PV& salida);

};

#endif
